;(function(window,undefined){
    let jQuery = function(el)
    {
        return new init(el)
    }
    function init(el){
        let els = document.querySelectorAll(el)
        for(let i=0;i<els.length;i++)
        {
            this[i] = els[i]
        }
        this.length = els.length
    }
    jQuery.extend = function(object)
    {
        for(let key in object)
        {
            init.prototype[key] = object[key]
        }
    }
    init.prototype = {
        css(cssattr,cssval)
        {
            for(let i=0;i<this.length;i++)
            {
                this[i].style[cssattr] = cssval
            }
            return this
        },
        ajax(options){},
        attr(options){},
        addClass(options){}
    }
    window.jQuery = window.$ = jQuery
})(window)